package com.hongdee.scm.pushMessage.entity;

import com.gexin.fastjson.JSON;

import java.util.Map;

public class TScmMapToJSON {

    public static Map<String,Object> json2Map(String json){
        return JSON.parseObject(json, Map.class);
    }

    public static String obj2JsonString(Object obj){
        return JSON.toJSONString(obj);
    }
}
